package cn.codergege.demo.dao;

import cn.codergege.demo.domain.Employee;

import java.util.List;

public interface EmployeeDao {
    List<Employee> getAll();
    Employee getById(int id);
    void add(Employee employee) throws Exception;
    void update(Employee employee) throws Exception;
    void delete(int id) throws Exception;
}
